.PHONY:all
all:test mycmd 

test:test.c
		gcc -o $@ $^

mycmd:mycmd.cpp 
		g++ -o $@ $^

.PHONY:clean 
clean:
		rm -rf test mycmd 
